package com.nine.dao;

import java.util.List;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.nine.entity.Category;
import com.nine.entity.Item;

/**
 * A data access object (DAO) providing persistence and search support for Item
 * entities. Transaction control of the save(), update() and delete() operations
 * can directly support Spring container-managed transactions or they can be
 * augmented to handle user-managed Spring transactions. Each of these methods
 * provides additional information for how to configure it for the desired type
 * of transaction control.
 * 
 * @see com.nine.entity.Item
 * @author MyEclipse Persistence Tools
 */

public class ItemDAO extends HibernateDaoSupport {
	List getItemInfoOfSelectedCategory(String CategoryId){
		return null;}
	List SearchItem(Category category){
		return null;}
	List SearchItem(String Type,
			double price,
			double discount,
			String name
){
	return null;}
	List<Item> getItem(int cartId,
			int itemId
){
	return null;}
	List<Item> queryItemsFromDatabase(String CategoryId){
		return null;}
	void addItemToDatabase(Item item){}
	Item queryOneItemFromDatabase(int itemId){
		return null;}
	void editItemToDatabase(Item item){}
	void deleteItemFromDatabase(int itemId){}

}